/**
 * Created with IntelliJ IDEA.
 *
 * @author: cxs
 * @date: 2023/7/3
 * @time: 8:52
 * @className：RentVo
 * @description：RentVo视图对象
 */
package com.bailan.bus.vo;

import com.bailan.bus.domain.Rent;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RentVo extends Rent {
    /**
     * 分页参数
     */
    private Integer page;
    private Integer limit;

    /**
     * 扩展表单参数  将前台时间提交到后台
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
